package com.atwulidun.flyweight10;
// 借阅图书的学生为外部状态
public class Student {
    private String name;

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

